
// 一个状态模块就是一个 reducer
const proReducer = (state = {
    proList: []
}, actions) => {

    const { type, payload } = actions

    switch (type) {
        case 'change_pro_list':
            return { ...state, proList: payload }
        default:
            return state
    }


}

export default proReducer